home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectDraw / SwitchScreenMode / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.2 KB  |  38 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: SwitchScreenMode Sample
  4. // 
  5. // Copyright (c) 1999-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12.   SwitchScreenMode demonstrates how to author a DirectDraw application to handle
  13.   switching between both full-screen and windowed DirectDraw modes.
  14.  
  15. Path
  16. ====
  17.   Source: DXSDK\Samples\Multimedia\DDraw\SwitchScreenMode
  18.  
  19.   Executable: DXSDK\Samples\Multimedia\DDraw\Bin
  20.  
  21. User's Guide
  22. ============
  23.   Press Alt-Enter to switch from windowed mode to full-screen and back again.  
  24.   Press the ESC key to quit the program.
  25.  
  26. Programming Notes
  27. =================
  28.   For details on how to setup a full-screen DirectDraw app, see the FullScreenMode 
  29.   sample. 
  30.   
  31.   For details on how to setup a windowed mode DirectDraw app, see the WindowedMode
  32.   sample. 
  33.   
  34.   When combining these the two mode, be sure to re-create all DirectDraw surfaces
  35.   since the pixel format for full-screen mode typically does not match the 
  36.   desktop pixel format.  
  37.   
  38.